import Layout from '@/layout'

export default [
  {
    path: '/system',
    component: Layout,
    meta: { title: '系统管理', icon: 'system' },
    children: [
      {
        path: 'couser',
        component: () => import('@/views/system/couser/index'),
        name: 'CoUser',
        meta: { title: '用户管理', icon: 'user' }
      },
      {
        path: 'contract',
        component: () => import('@/views/system/contract/index'),
        name: 'Contract',
        meta: { title: '合同管理', icon: 'documentation' }
      },
      {
        path: 'contractType',
        component: () => import('@/views/system/contractType/index'),
        name: 'ContractType',
        meta: { title: '合同类型管理', icon: 'tree' }
      },
      {
        path: 'contractTemplate',
        component: () => import('@/views/system/contractTemplate/index'),
        name: 'ContractTemplate',
        meta: { title: '合同模板管理', icon: 'zip' }
      },
      {
        path: 'contractPrompt',
        component: () => import('@/views/system/contractPrompt/index'),
        name: 'ContractPrompt',
        meta: { title: '提示词管理', icon: 'guide' }
      },
      {
        path: 'contractTypePrompt',
        component: () => import('@/views/system/contractTypePrompt/index'),
        name: 'ContractTypePrompt',
        meta: { title: '类型提示词', icon: 'nested' }
      },
      {
        path: 'feedback',
        component: () => import('@/views/system/feedback/index'),
        name: 'Feedback',
        meta: { title: '反馈管理', icon: 'message' }
      }
    ]
  }
]
